package com.hzncc.flowable_diboot.entity;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;
import java.lang.Double;
import java.math.BigDecimal;
import jakarta.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;


import com.diboot.core.util.D;
import com.diboot.core.entity.BaseModel;
import com.diboot.core.entity.BaseEntity;
import com.diboot.core.binding.query.BindQuery;
import com.diboot.core.binding.query.Comparison;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
* 设备问题 Entity 定义
* @author MyName
* @version 1.0
* @date 2024-07-04
* Copyright © MyCorp
*/

@TableName("mdl_equipment_matter")
@Getter @Setter @Accessors(chain = true)
public class EquipmentMatter extends BaseModel {
    private static final long serialVersionUID = 1396235575074678413L;

    /**
     * 租户
     */
    @NotNull(message = "租户不能为空")
    @TableField()
    private String tenantId;

    /**
     * 机床编号
     */
    @Length(max=100, message="机床编号长度应小于100")
    @BindQuery(comparison = Comparison.LIKE)
    @TableField()
    private String machineNumber;

    /**
     * 机床型号
     */
    @Length(max=100, message="机床型号长度应小于100")
    @BindQuery(comparison = Comparison.LIKE)
    @TableField()
    private String machineModel;

    /**
     * 最终用户
     */
    @TableField()
    private String endUser;

    /**
     * 问题编号
     */
    @Length(max=100, message="问题编号长度应小于100")
    @BindQuery(comparison = Comparison.LIKE)
    @TableField()
    private String matterNumber;

    /**
     * 问题名称
     */
    @Length(max=100, message="问题名称长度应小于100")
    @BindQuery(comparison = Comparison.LIKE)
    @TableField()
    private String matterName;

    /**
     * 问题类型
     */
    @TableField()
    private String equipmentMatterType;

    /**
     * 问题创建人
     */
    @Length(max=100, message="问题创建人长度应小于100")
    @BindQuery(comparison = Comparison.LIKE)
    @TableField()
    private String matterCreator;

    /**
     * 问题负责人
     */
    @TableField()
    private String matterManager;

    /**
     * 问题处理状态
     */
    @TableField()
    private String equipmentMatterStatus;

    /**
     * 问题完成时间
     */
    @Length(max=100, message="问题完成时间长度应小于100")
    @BindQuery(comparison = Comparison.LIKE)
    @TableField()
    private String matterCompleteTime;

    /**
     * 设备问题级别
     */
    @TableField()
    private String equipmentMatterLevel;


}